package br.com.single.publico;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import org.springframework.roo.addon.jpa.identifier.RooIdentifier;

@Embeddable
@RooIdentifier(dbManaged = true)
public final class CdalmoxaPK {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column(name = "codigofilial", nullable = false,columnDefinition="codigonumero")
    private Integer codigofilial;

	@Column(name = "codigoalmoxa", nullable = false,columnDefinition="codigonumero")
    private Integer codigoalmoxa;

	public CdalmoxaPK(Integer codigofilial, Integer codigoalmoxa) {
        super();
        this.codigofilial = codigofilial;
        this.codigoalmoxa = codigoalmoxa;
    }

	private CdalmoxaPK() {
        super();
    }

	public Integer getCodigofilial() {
        return codigofilial;
    }

	public Integer getCodigoalmoxa() {
        return codigoalmoxa;
    }
}
